
package com.micro.school.system.convert.discount;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.micro.school.system.domain.DiscountActivity;
import com.micro.school.system.domain.vo.DiscountActivityVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface DiscountActivityConvert {

    DiscountActivityConvert INSTANCE = Mappers.getMapper(DiscountActivityConvert.class);

    DiscountActivity convert(DiscountActivityVo bean);
    DiscountActivityVo convert(DiscountActivity domain);
    List<DiscountActivityVo> convert(List<DiscountActivity> domains);
}
